#include <fstream>
#include <iostream>
using namespace::std;
#include <string>
#include <sstream>
#include <algorithm>
#include <iterator>
#include <vector>

#include "Object.h"
#include "Structures.h"

vector<string> splitString(string str);
int countWords(string str);
PlaneObject * parseSquare(vector<string>);
SphereObject * parseSphere(vector<string> attr);
LightPoint parseLight(vector<string> attr);

vector<Object*> readFileforObjects (char * fname);
vector<LightPoint> readFileforLights (char * fname);